<include file="Public:header" />
<div style="background:#fff; height:40px; line-height:40px; border-bottom:1px solid #ccc; text-align:center;" class="headernav1"> <a href="javascript:history.go(-1);" style="height:40px; width:40px; display:block; float:left; text-align:center;"><i class="fa fa-angle-left"></i></a> <i style="color:#ff1b51;" class="fa fa-group"></i> 我的团队  </div>
<style>
    .headernav1 .fa{font-size:20px;}
    .headernav{display:none;}
    @media (min-width: 50px){
	     .nav-justified>li{
            display: table-cell;
            width: 1%;
	    }
	}
    .media p{margin-bottom:0px;}
    .media{padding:5px 10px; background:#fff; margin-top:5px;}
    .nav-justified>li>a{margin-bottom:0; border-radius:0;}
    .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{background-color:#FF1B51;}
	.nav>li>a {
    position: relative;
    display: block;
    padding: 3px 7px;
}
	.nav>li>a p{font-size: 8px;}
</style>
<div style="padding:5px; padding-bottom:0px;">
      <ul class="nav nav-pills nav-justified" style="border: 1px solid #FF1B51;background:#fff;">
          <li <eq name="level" value="1">class="active"</eq> role="presentation"><a href="{:U('', array('level' => 1))}">商家<p>【{$bc}】</p></a></li>
          <eq name="memberInfo['level']" value="6">
              <li <eq name="level" value="6">class="active"</eq> role="presentation"><a href="{:U('', array('level' => 6))}">服务商<p>【{$sc}】</p></a></li>
          </eq>
          <eq name="memberInfo['level']" value="5">
              <li role="presentation" <eq name="level" value="5">class="active"</eq> ><a href="{:U('', array('level' => 5))}">业务员<p>【{$ec}】</p></a></li>
          </eq>
              <li role="presentation" <eq name="level" value="0">class="active"</eq> ><a href="{:U('', array('level' => 0))}">会员<p>【{$mc}】</p></a></li>
      </ul>
</div>
<div class="panel panel-success" style="margin:0; border:none; border-top:4px solid #eee; margin-top:4px;">
    <div class="panel-body" style="background:#fff; padding:0;">
        <empty name="list">
            <p style="text-align:center;">目前没有会员</p>
        </empty>
        <volist name="list" id="vo">
            <gt name="key" value="0">
                <div style="border-top:4px solid #eee;"></div>
            </gt>
            <div class="media"  <?php if( $vo['level'] > 1 &&$lemonTree !=1 ){ ?> onclick="location.href='<?php echo U('deeplist',['id'=>$vo['id']]); ?>'" <?php } ?> >
                <div class="media-left media-middle">
                    <a href="#">
                        <img class="media-object" src="{$vo['img_url']}" width="60" style="border-radius:50px;" alt="">
                    </a>
                </div>
                <div class="media-body">
                    <h4 class="media-heading">昵称：{$vo['nickname']}</h4>
                    <p style="font-family:Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', sans-serif;" {$vo.level}>ID:{$vo['number']} 　角色:{$vo['levelname']}</p>
                    <switch name="lemonTree">
                        <case value="2">
                            <p style="font-family:Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', sans-serif;">店铺名称：{$vo['shopname']}</p>
                        </case>
                        <case value="1">
                            <p style="font-family:Impact, Haettenschweiler, 'Franklin Gothic Bold', 'Arial Black', sans-serif;">级别：{$vo['deep']}</p>
                        </case>
                    </switch>
                    <!--<?php if($vo['level'] == 1){ ?><p>营业额：{$vo['money']}</p>-->
                    <!--<p>已让利金额：{$vo['discounted']}</p>-->
                    <!--<?php } ?>-->
                </div>
            </div>
        </volist>
    </div>
</div>
<div class="pages">{$pages}</div>
<include file="Public:footer" />